package com.spinach.game.enums;

import lombok.Getter;

/**
 * 牌型及牌型等级
 */
@Getter
public enum SellType {

    ILLEGAL(-100, "非合法"),

    /**
     * 最高级别
     */
    KING_BOMB(100, "王炸"),

    BOMB(99, "炸弹"),

    SINGLE(1,"单个牌"),

    DOUBLE(1,"对子牌"),

    THREE_ZONES_SINGLE(1,"三带一"),

    THREE_ZONES_BLANK(1,"三不带"),

    FOUR_ZONES_DOUBLE(1,"四带对"),

    SINGLE_STRAIGHT(1,"顺子"),

    DOUBLE_STRAIGHT(1,"连队"),


    THREE_STRAIGHT_WITH_SINGLE(1,"飞机带单牌"),

    THREE_STRAIGHT_WITH_BLANK(1,"飞机不带牌"),
    ;

    /**
     * 牌型级别
     */
    private int level;

    /**
     * 描述
     */
    private String desc;

    SellType(int level, String desc) {
        this.level = level;
        this.desc = desc;
    }

}
